package com.yvan.zipkin;

/**
 * Created by Administrator on 2018/1/15.
 */
public enum TracingCollectorType {

    CLIENT_SEND(1, "cs"),
    CLIENT_RECEIVE(2, "cr"),
    SERVER_SEND(3, "ss"),
    SERVER_RECEIVE(4, "sr");

    private int index;
    private String name;

    TracingCollectorType(int i, String name) {
        this.index = i;
        this.name = name;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
